CC = g++

TARGET = lesson3

COMPILEFLAGS = -framework OpenAL -framework ALUT

$(TARGET): main.o keyboard.o
	$(CC) -o $(TARGET) main.o keyboard.o $(COMPILEFLAGS)

main.o: main.cpp
	$(CC) -c main.cpp -Wno-deprecated

keyboard.o: keyboard.h keyboard.cpp
	$(CC) -c keyboard.cpp -Wno-deprecated

clean:
	rm -f $(TARGET) main.o keyboard.o

